package com.better.common.jwtauth.TokenManager;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 存储redis token对象
 * Created by Administrator on 2017/12/13.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RedisTokenInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotNull
    private String userName;
    @NotNull
    private String token;
}
